﻿using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities.Auditing;

namespace EcoSystem
{
    /// <summary>
    /// 报表配置分类
    /// </summary>
    public class ReportCategoryConfig : CreationAuditedEntity<Guid>
    {
        /// <summary>
        /// 类别
        /// </summary>
        public ReportCategoryTypeEnum Type { get; set; }

        /// <summary>
        /// 上级ID
        /// </summary>
        public Nullable<Guid> ParentId { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        [StringLength(128)]
        public string Name { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(256)]
        public string Remarks { get; set; }
    }

}
